package cn.wolfcode.mapper;

import cn.wolfcode.domain.Exam;
import cn.wolfcode.qo.AnswerObject;
import cn.wolfcode.qo.ExamItemObject;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.QuestionObject;

import java.util.List;

public interface ExamMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Exam record);

    Exam selectByPrimaryKey(Long id);

    List<Exam> selectAll();

    int updateByPrimaryKey(Exam record);

    List<Exam> selectForList(QueryObject qo);

   Exam selectByExam(Long examId);

   List<QuestionObject> selectByEId(Long id);

   List<AnswerObject> selectByAID(Long id);

}